package com.sghj.config.handler.exceptionHandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor                                     //生成有参构造方法
@NoArgsConstructor                                      //生成无参构造方法
public class MyException extends RuntimeException {
    //异常码
    private Integer code;
    //异常信息
    private String message;


}
